using System;
using System.Windows.Forms;
using BizTalk.BuildGenerator.UI.Navigation;

namespace BizTalk.BuildGenerator.UI.UserControls
{
    public partial class PublishWebServicesControl : UserControl, IWizardControl
    {
        private GenerationArgs _Args;

        public void RegisterWebServices(GenerationArgs args)
        {
            _Args = args;
            PublishWebServicesPropertyGrid.SelectedObject = _Args.WebServices;
        }

        public PublishWebServicesControl()
        {
            InitializeComponent();
        }

        private void PublishWebServicesControl_Load(object sender, EventArgs e)
        {

        }

        #region IWizardControl Members

        public MoveNextResult MoveNext()
        {            
            MoveNextResult result = new MoveNextResult();
            result.CanMoveNext = true;
            return result;
        }

        #endregion
    }
}